package com.gxa.entity.commnotice;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "查询条件")
public class Query {
    @ApiModelProperty("状态（0-发布中，1-已完成，2-已撤销）")
    private Integer noticeState;

    @ApiModelProperty("开始时间")
    private Date noticeStartTime;

    @ApiModelProperty("结束时间")
    private Date noticeEndTime;

    @ApiModelProperty("当前页面")
    private Integer pageNum;

    @ApiModelProperty("每个页面展示多少条")
    private Integer pageSize;
}
